package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @author ：zfr
 * @date ：2021/7/21 15:49
 */
@FieldTypeAnnotation(tableName = "t_l_ck_wineshop_building_upgrade", desc = "酒肆建筑升级日志", autoSave = true, uploadCk = true)
public class LogWineShopBuildingUpgrade extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "建筑id")
    private int buildingId;
    @FieldTypeAnnotation(desc = "升级前等级")
    private int beforeLv;
    @FieldTypeAnnotation(desc = "升级后等级")
    private int curLv;
    @FieldTypeAnnotation(desc = "消耗")
    private String consume;

    public LogWineShopBuildingUpgrade(long userId, int buildingId, int beforeLv, int curLv, String consume) {
        this.userId = userId;
        this.buildingId = buildingId;
        this.beforeLv = beforeLv;
        this.curLv = curLv;
        this.consume = consume;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(int buildingId) {
        this.buildingId = buildingId;
    }

    public int getBeforeLv() {
        return beforeLv;
    }

    public void setBeforeLv(int beforeLv) {
        this.beforeLv = beforeLv;
    }

    public int getCurLv() {
        return curLv;
    }

    public void setCurLv(int curLv) {
        this.curLv = curLv;
    }

    public String getConsume() {
        return consume;
    }

    public void setConsume(String consume) {
        this.consume = consume;
    }

}
